package com.spring.pojo;

/**
 * @author:liuwei
 * @creatdate:2021-07-10-13:49
 */
public class User {
	private String name;

	public User(String name) {
		this.name = name;
	}

	public User() {
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	public void show(){
		System.out.println("name:" + name);
	}

	@Override
	public String toString() {
		return "User{" +
				"name='" + name + '\'' +
				'}';
	}
}
